﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SalesInvoiceReport.aspx.cs" Inherits="Main_ServiceInvoice_SalesInvoiceReport" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Sale Invoice Report</title>
    <link rel="Stylesheet" href="../../Styles/accounts.css" type="text/css" />
</head>
<body style="border-color:#d6d3ce;">
    <form id="form1" runat="server">
    <asp:HiddenField ID="hidControlCounter" runat="server" Value="0" />
    <div style="width: 90%; height: 100%; margin-left: 5%; margin-right: 5%;">
     <span style="padding-left:87%;"><asp:Label ID="lblViewType" runat="server"></asp:Label></span>
   
     <asp:Panel ID="pnlpdf" runat="server">
     <table width="100%" class="tablecontent" cellpadding="0" cellspacing="0" style="height: 900px; margin:0;">
            <tr style="height: 0%;" >
                <td colspan="12" align="center" style="border-bottom:solid 1px;">
                    <b><asp:Label ID="lblCaption" runat="server"></asp:Label></b>
                </td>
            </tr>
            <tr style="height: 5%; border-bottom:solid 1px #d6d3ce;">
                <td colspan="6" style="width: 50%; border-bottom:solid 1px #d6d3ce; border-right:solid 1px #d6d3ce;">
                    <b>Invoice To</b><br />
                    <asp:Label ID="lblInvoiceTo" runat="server"></asp:Label><br />
                    <br />
                </td>
                <td colspan="3" style="width: 25%; padding-left:0; border-bottom:solid 1px #d6d3ce; border-right:solid 1px #d6d3ce; vertical-align:top;">
                    &nbsp;<b>Bill No.&nbsp;&nbsp;</b><asp:Label ID="lblBillNo" runat="server"></asp:Label><br /><br />
                    <hr style="color:#d6d3ce;"/>
                     &nbsp;<b>Ref. No.</b>&nbsp;&nbsp;<asp:Label ID="lblRefNo" runat="server"></asp:Label>
                </td>
                <td colspan="3" style="width: 25%;  padding-left:0; border-bottom:solid 1px #d6d3ce; vertical-align: top;">
                    &nbsp;<b>Date&nbsp;&nbsp;</b><asp:Label ID="lblDate" runat="server"></asp:Label><br /><br />
                    <hr  style="color:#d6d3ce;" />
                </td>
            </tr>
            <tr style="height: 10%;">
                <td colspan="5" style="width: 45%;">
                    <asp:Label ID="lblSupplier" runat="server"></asp:Label><br />
                    <br />
                </td>             
                <td style="width:5%;overflow:hidden; border-right:solid 1px #d6d3ce; ">
            &nbsp;<asp:Image ID="imgLogo" runat="server" Width="1.26729in" Height="1in"/>
                </td>
                <td colspan="3" style="width: 25%;">
              <br />&nbsp;<asp:Label id="lblCompVat" runat="server" Text="Company's VAT TIN"></asp:Label> <br /> <br />
                  
                    &nbsp;<asp:Label ID="lblCompServ" runat="server" Text="Company's Service Tax No."></asp:Label><br /><br />
                   
                    &nbsp;<asp:Label ID="lblCompPAN" runat="server" Text="Company's PAN"></asp:Label><br /><br />
                   
                    &nbsp;<asp:Label ID="lblBuyr" runat="server" Text="Buyer's VAT TIN/Sales Tax No." Visible="false"></asp:Label><br />
                </td>
                <td colspan="3" style="width: 25%;">
                   <br /><asp:Label ID="lblVATTIN" runat="server"></asp:Label><br /><br />
                    
                    <asp:Label ID="lblServiceTaxNo" runat="server"></asp:Label><br /><br />
                   
                    <asp:Label ID="lblPanNo" runat="server"></asp:Label><br /><br />
                   
                    <asp:Label ID="lblBuyrsVATSalesTaxNo" runat="server" Visible="false"></asp:Label><br />
                </td>
            </tr>
            <tr style="height: 0%; vertical-align: top;" align="left">
                <td colspan="12" style="height: 0%; padding:0 0 0 0; border-color:#d6d3ce; width:100%;"  >
                    <table id="tblDetail" runat="server" width="100%">
                        <tr >
                            <td style="width: 5%;border-color:#d6d3ce; border:solid 1px #d6d3ce;border-left:0px white; ">
                                <b>S.No.</b>
                            </td> 
                            <td id="tdNature" runat="server" style="width: 17%;border-color:#d6d3ce;border:solid 1px #d6d3ce;">
                                <b>Nature of Service</b>
                            </td>
                            <td id="tdUnit" runat="server" style="width: 7%;border-color:#d6d3ce;border:solid 1px #d6d3ce;">
                                <b>Unit</b>
                            </td>
                            <td id="tdQty" runat="server" style="width: 7%;border-color:#d6d3ce;border:solid 1px #d6d3ce;">
                                <b>Qty.</b>
                            </td>
                            <td id="tdRate" runat="server" style="width: 7%;border-color:#d6d3ce;border:solid 1px #d6d3ce;">
                                <b>Rate</b>
                            </td>
                            <td id="tdGrossAmt" runat="server" style="width: 7%;border-color:#d6d3ce;border:solid 1px #d6d3ce;">
                                <b>Gross Amt.</b>
                            </td>
                            <td id="tdST" runat="server" style="width: 7%;border-color:#d6d3ce;border:solid 1px #d6d3ce;">
                                <b>S.T.</b>
                            </td>
                            <td id="tdHE" runat="server" style="width: 7%;border-color:#d6d3ce;border:solid 1px #d6d3ce;">
                                <b>HE Cess</b>
                            </td>
                            <td id="tdPE" runat="server" style="width: 7%;border-color:#d6d3ce;border:solid 1px #d6d3ce;">
                                <b>PE Cess</b>
                            </td>
                            <td id="tdServ" runat="server" style="width: 10%;border-color:#d6d3ce;border:solid 1px #d6d3ce;">
                                <b>Serv. Chrg.</b>
                            </td>
                            
                            <td id="tdDis" runat="server" style="width: 7%;border-color:#d6d3ce;border:solid 1px #d6d3ce;">
                                <b>Discount</b>
                            </td>
                            <td id="tdTotal" runat="server" style="width: 12%; border-color:#d6d3ce;border:solid 1px #d6d3ce;border-right:0px white;">
                                <b>Total Amt.</b>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr style="height: 3%;">
                <td colspan="11" style="width: 95%; border:solid 1px #d6d3ce;" align="right">
                    <b>Grand Total:</b>
                </td>
                <td style="width: 5%; border:solid 1px #d6d3ce;" align="right">
                    <asp:Label ID="lblGrandTotal" runat="server"></asp:Label>
                </td>
            </tr>
            <tr style="height: 2%;">
              <td colspan="11" style="width: 82%; border-right-style:hidden;">
                    &nbsp;<b><asp:Label ID="lblRemarksHead" runat="server" Text="Remarks :"></asp:Label></b><asp:Label ID="lblRemarks" runat="server"></asp:Label>
               </td>
              <td style="width: 18%; vertical-align: top;" align="right">
                    E. & O.E.
                </td>
               </tr>
            <tr style="height: 3%;">
              <td colspan="12" style="width: 82%;">
                    &nbsp;<b><asp:Label ID="lblNarrHead" runat="server" Text="Narration :"></asp:Label></b><asp:Label ID="lblNarration" runat="server"></asp:Label>
               </td>
             </tr>
            <tr style="height: 5%;">
                <td colspan="12" style="width: 82%;">
                    <br />
                    <b>&nbsp;</b><br />
                    <asp:Label ID="lblAmountInWords" runat="server"></asp:Label><br />
                    <br />
                    <br />
                </td>
            </tr>
            <tr style="height: 10%;">
                <td colspan="3" style="width: 25%; border-bottom:solid 1px #d6d3ce;" >
              <br />&nbsp;<asp:Label id="lblpreparedbyHead" runat="server" Text="Prepared By" Width="95%"></asp:Label> <br /> <br />
                  
                    &nbsp;<asp:Label ID="lblservicedbyHead" runat="server" Text="Serviced By" Width="95%"></asp:Label><br /><br />
                   
                    &nbsp;<asp:Label ID="lblcheckedbyHead" runat="server" Text="Checked By" Width="95%"></asp:Label><br /><br />
                </td>
                <td colspan="3" style="width: 25%; border-bottom:solid 1px #d6d3ce;">
                   <br /> <asp:Label ID="lblpreparedby" runat="server" Width="95%"></asp:Label><br /><br />
                    
                    <asp:Label ID="lblservicedby" runat="server" Width="95%"></asp:Label><br /><br />
                   
                    <asp:Label ID="lblcheckedby" runat="server" Width="95%"></asp:Label><br /><br />
                </td>
                <td colspan="6" style="width: 50%; border:solid 1px #d6d3ce;" align="right">
                    for&nbsp;<b><asp:Label ID="lblInvoiceFor" runat="server"></asp:Label></b>
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    Authorised Signatory<br />
                    <br />
                </td>
            </tr>
            <tr style="height: 3%;">
                <td colspan="12" style="width: 100%; border-top:solid 1px;" align="center">
                    This is a Computer Generated Sales Invoice.
                </td>
            </tr>
        </table>
      <asp:GridView ID="grdShowdetail" runat="server">
      <Columns>
      <asp:TemplateField >
      <ItemTemplate>
      
      </ItemTemplate>
      </asp:TemplateField>
      </Columns>
      </asp:GridView>
      </asp:Panel>
    </div>
    </form>
</body>
</html>
